try:
    num=input('please input a number:')
    num=int(num)
    print(num)
    a=10/num
    print(f'a:{a}')

except Exception as e:
     print(f"错误信息为: {e}")
else:
     print('没有发⽣异常我会执⾏')
finally:
     print('不管有没有发⽣异常,我都会执⾏')
 # print('不管有没有发⽣异常,我都会执⾏')
